package com.rd.student.jike.class2.lihongming.week724_730.Day727;

import com.sun.org.apache.xpath.internal.operations.String;

import java.io.*;

/**
 * @Auther:Heinrich
 * @Date:2023/7/27-07-27-15:22
 * @Description:c230727
 * @version:1.0
 */
public class TestConvert {
    public static void main(String[] args) throws IOException {
        File file = new File("stream.txt");
        InputStream is = new FileInputStream("stream.txt");
        Reader reader = new InputStreamReader(is);
        char[] arr = new char[(int) file.length()];
        reader.read(arr);
        String str = new String();
        System.out.println();
        reader.close();
        is.close();
    }
}
